home *** CD-ROM | disk | FTP | other *** search
/ Ian & Stuart's Australian Mac: Not for Sale / Another.not.for.sale (Australia).iso / fade into you / getting there / Apps / MOO-1.7.6.src / inc / ppc.h < prev    next >
Text File  |  1994-11-02  |  847b  |  35 lines

  1. #ifndef __PPC__
  2. #define __PPC__
  3.  
  4. #ifndef __TYPES__
  5. #include <Types.h>
  6. #endif
  7.  
  8. #ifndef __PPCTOOLBOX__
  9. #include <PPCToolBox.h>
  10. #endif
  11.  
  12. #define ENTRYPOINT
  13.  
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17.  
  18. ENTRYPOINT OSErr PPC_StartNetwork(StringPtr networkName, Boolean visible);
  19. ENTRYPOINT OSErr PPC_Listen();
  20. ENTRYPOINT OSErr PPC_TestForSession();
  21. ENTRYPOINT void* PPC_AcceptSession();
  22. ENTRYPOINT void  PPC_RejectSession();
  23. ENTRYPOINT void  PPC_GetConnectionInformation(void * sh, char * dataP);
  24. ENTRYPOINT OSErr PPC_EndSession(void * sh);
  25. ENTRYPOINT void* PPC_StartSessionWith(LocationNameRec *, PortInfoRec *, Str32);
  26. ENTRYPOINT OSErr PPC_WriteToSession(void * sh, char * dataP, long * length, int eof);
  27. ENTRYPOINT OSErr PPC_ReadFromSession(void * sh, char * dataP, long * length);
  28. ENTRYPOINT OSErr PPC_StopNetwork();
  29.  
  30. #ifdef __cplusplus
  31. }
  32. #endif
  33.  
  34. #endif
  35.